package com.yksj.healthtalk.ui.interestwall;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.yksj.healthtalk.ui.R;

public class InterestRemindDialog extends Dialog {

	/**
	 * 以后再说按钮
	 */
	private Button cancelButton;
	/**
	 * 进入沙龙信息按钮
	 */
	private Button releaseButton;
	
	
	
	public InterestRemindDialog(Context context, int theme) {
		super(context, theme);
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.interest_remind_dialog);
		cancelButton = (Button) findViewById(R.id.cancel);
		releaseButton = (Button) findViewById(R.id.confirm);
		initView();
	}
	
	public void initView() {
		cancelButton.setOnClickListener( new View.OnClickListener() {
			@Override
			public void onClick(View v) {
				InterestRemindDialog.this.dismiss();
			}
		});
	}
	public void setReleaseButtonListener(android.view.View.OnClickListener listener) {
		releaseButton.setOnClickListener(listener);
	}
	
}
